home *** CD-ROM | disk | FTP | other *** search
/ Clickx 65 / Clickx 65.iso / software / internet / xmarks / xmarks-3.1.1.xpi / chrome / content / foxmarks-alert.xul < prev    next >
Encoding:
Extensible Markup Language  |  2009-05-05  |  875 b   |  34 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  Copyright 2005-2008 Foxmarks Inc.
  6.  
  7.  foxmarks-alert.xul: implements a simple window alert
  8.  
  9. -->
  10.  
  11. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  12.  
  13. <!DOCTYPE dialog SYSTEM "chrome://foxmarks/locale/foxmarks.dtd">
  14.  
  15. <dialog id="foxmarks-alert" title="&dialog.alert.title;"
  16.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  17.     buttons="accept"
  18.     onload="onLoad();"
  19.     moveToAlertPosition="true">
  20.  
  21.     <script>
  22.         function onLoad(){
  23.             document.getElementById("desc").value =
  24.                 window.arguments[0];
  25.         }
  26.     </script>
  27.  
  28.     <hbox style="width: 30em; padding: 1em 1em 1.5em 1em;">
  29.         <image src="chrome://global/skin/icons/warning-64.png" 
  30.             height="64" width="64" />
  31.         <description id="desc" style="padding-top: 4px;" /> 
  32.     </hbox>
  33. </dialog>
  34.